﻿using System;
using Newtonsoft.Json;
using System.IO;
using IkeCode.WP7.Toolkit.Core.Enum;

namespace IkeCode.WP7.Toolkit.Persist
{
    /// <summary>
    /// Class to store image type and Stream to persist
    /// </summary>
    public partial class IcSmartPersistImageCacheModel
    {
        /// <summary>
        /// File name (e.g.: Image url for example)
        /// </summary>
        public string FileName { get; set; }
        /// <summary>
        /// Image type (e.g.: Jpeg)
        /// </summary>
        public MimeType MimeType { get; set; }
        /// <summary>
        /// Image byte array
        /// </summary>
        public byte[] Bytes { get; set; }
    }
}
